package net.antonioshome.swing.treewrapper;

import org.simpleframework.xml.Element;
import org.simpleframework.xml.Root;

import javax.swing.tree.DefaultMutableTreeNode;

@Root
public abstract class DeepCopyNode extends DefaultMutableTreeNode {

    @Element(required=false)
    private int hitCount = -1;

    public int getHitCount() {
        return hitCount;
    }

    public void setHitCount(int hitCount) {
        this.hitCount = hitCount;
    }

    public abstract DeepCopyNode deepCopy();
}
